CC = g++
Ox = -O3
MP = 
LIBS = -lbbhutil -lutilio

Domain:	Domain.h Domain.cpp
		$(CC) -c Domain.cpp $(Ox) $(MP)

Others:	Others.h Others.cpp
		$(CC) -c Others.cpp $(Ox) $(MP)

Comm:	Comm.h Comm.cpp CommCLI.h CommCLI.cpp
		$(CC) -c Comm.cpp $(Ox) $(MP)
		$(CC) -c CommCLI.cpp $(Ox) $(MP)

Scalar:	Scalar.h Scalar.cpp
		$(CC) -c Scalar.cpp $(Ox) $(MP)

Vector:	Vector.h Vector.cpp
		$(CC) -c Vector.cpp $(Ox) $(MP)

Matrix:	Matrix.h Matrix.cpp
		$(CC) -c Matrix.cpp $(Ox) $(MP)

MW:		MW.cpp MW.h
		$(CC) -c MW.cpp $(Ox) $(MP)

MWSolve:	MWSolve.cpp MW.h
		$(CC) -c MWSolve.cpp $(Ox) $(MP)

MWRK:	MWRK.cpp MW.h
		$(CC) -c MWRK.cpp $(Ox) $(MP)

MWDots:	MWDots.cpp MW.h
		$(CC) -c MWDots.cpp $(Ox) $(MP)

MWBoundaries:	MWBoundaries.cpp MW.h
		$(CC) -c MWBoundaries.cpp $(Ox) $(MP)

MWPrint:	MWPrint.cpp MW.h
		$(CC) -c MWPrint.cpp $(Ox) $(MP)

T3:		Domain Others Comm Scalar Vector Matrix

MWAll:		MW MWSolve MWRK MWDots MWBoundaries MWPrint

Main:
		$(CC) main.cpp *.o -o main $(LIBS)

Clean:
		rm *.o
		rm main

